package com.qinyunkj.searchchatserver.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("crawler_log")
public class CrawlerLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long crawlerConfigId;
    private Integer status;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private Integer totalCount;
    private Integer successCount;
    private Integer errorCount;
    private String errorMessage;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
} 